//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Soen','Bottom Lounge','Chicago, IL','Tuesday','5/7/2024','7:30 PM','5898000','Soen-5-7-2024'],['Dustin Kensrue','Bottom Lounge','Chicago, IL','Wednesday','5/8/2024','7:30 PM','6252659','Dustin-Kensrue-5-8-2024'],['He is Legend','Bottom Lounge','Chicago, IL','Thursday','5/9/2024','8:00 PM','6331924','He-is-Legend-5-9-2024'],['Metz','Bottom Lounge','Chicago, IL','Saturday','5/11/2024','8:30 PM','6299950','Metz-5-11-2024'],['Holly Humberstone','Vic Theatre','Chicago, IL','Friday','5/17/2024','7:30 PM','6063268','Holly-Humberstone-5-17-2024'],['Boulet Brothers' Dragula','Vic Theatre','Chicago, IL','Wednesday','5/22/2024','8:00 PM','6317926','Boulet-Brothers--Dragula-5-22-2024'],['Passion Pit','Vic Theatre','Chicago, IL','Friday','5/24/2024','8:00 PM','6319507','Passion-Pit-5-24-2024'],['Born Of Osiris & Attila','Bottom Lounge','Chicago, IL','Saturday','5/25/2024','5:30 PM','6138229','Born-Of-Osiris---Attila-5-25-2024'],['Passion Pit','Vic Theatre','Chicago, IL','Saturday','5/25/2024','8:00 PM','6323530','Passion-Pit-5-25-2024'],['Jeff Tweedy','Vic Theatre','Chicago, IL','Saturday','6/1/2024','7:30 PM','6063682','Jeff-Tweedy-6-1-2024'],['Melt-Banana','Bottom Lounge','Chicago, IL','Saturday','6/1/2024','7:30 PM','6262221','Melt-Banana-6-1-2024'],['Alien Ant Farm','Bottom Lounge','Chicago, IL','Tuesday','6/4/2024','7:00 PM','6323824','Alien-Ant-Farm-6-4-2024'],['Jeff Arcuri','Vic Theatre','Chicago, IL','Friday','6/7/2024','7:00 PM','6086854','Jeff-Arcuri-6-7-2024'],['Miki Berenyi Trio','Bottom Lounge','Chicago, IL','Friday','6/7/2024','8:00 PM','6234347','Miki-Berenyi-Trio-6-7-2024'],['Jeff Arcuri','Vic Theatre','Chicago, IL','Friday','6/7/2024','9:30 PM','6092553','Jeff-Arcuri-6-7-2024'],['The Raveonettes','Bottom Lounge','Chicago, IL','Monday','6/10/2024','8:00 PM','6216699','The-Raveonettes-6-10-2024'],['John Cleese','Vic Theatre','Chicago, IL','Wednesday','6/12/2024','7:30 PM','6307061','John-Cleese-6-12-2024'],['John Cleese','Vic Theatre','Chicago, IL','Thursday','6/13/2024','7:30 PM','6307060','John-Cleese-6-13-2024'],['Seth Meyers','Vic Theatre','Chicago, IL','Friday','6/14/2024','7:00 PM','6341377','Seth-Meyers-6-14-2024'],['Seth Meyers','Vic Theatre','Chicago, IL','Friday','6/14/2024','9:30 PM','6359048','Seth-Meyers-6-14-2024'],['Seth Meyers','Vic Theatre','Chicago, IL','Saturday','6/15/2024','7:00 PM','6331909','Seth-Meyers-6-15-2024'],['Seth Meyers','Vic Theatre','Chicago, IL','Saturday','6/15/2024','9:30 PM','6331445','Seth-Meyers-6-15-2024'],['The 2 Johnnies Podcast','Vic Theatre','Chicago, IL','Sunday','6/16/2024','7:30 PM','6340403','The-2-Johnnies-Podcast-6-16-2024'],['They Might Be Giants','Vic Theatre','Chicago, IL','Tuesday','6/18/2024','8:00 PM','6264823','They-Might-Be-Giants-6-18-2024'],['They Might Be Giants','Vic Theatre','Chicago, IL','Wednesday','6/19/2024','8:00 PM','6264824','They-Might-Be-Giants-6-19-2024'],['Pete Yorn','Vic Theatre','Chicago, IL','Thursday','6/20/2024','7:30 PM','6406701','Pete-Yorn-6-20-2024'],['The Spill Canvas','Bottom Lounge','Chicago, IL','Friday','6/21/2024','7:00 PM','6218298','The-Spill-Canvas-6-21-2024'],['I Am The Avalanche, Be Well & Such Gold','Bottom Lounge','Chicago, IL','Saturday','6/22/2024','7:30 PM','6308452','I-Am-The-Avalanche--Be-Well---Such-Gold-6-22-2024'],['The Popcast Live!','Vic Theatre','Chicago, IL','Saturday','6/22/2024','8:00 PM','6289152','The-Popcast-Live--6-22-2024'],['Aaron West And The Roaring Twenties','Bottom Lounge','Chicago, IL','Sunday','6/23/2024','7:00 PM','6233865','Aaron-West-And-The-Roaring-Twenties-6-23-2024'],['The Living Tombstone','Bottom Lounge','Chicago, IL','Thursday','6/27/2024','8:00 PM','6371728','The-Living-Tombstone-6-27-2024'],['The Church & The Afghan Whigs','Vic Theatre','Chicago, IL','Friday','6/28/2024','7:00 PM','6251979','The-Church---The-Afghan-Whigs-6-28-2024'],['The Early November','Bottom Lounge','Chicago, IL','Sunday','6/30/2024','7:30 PM','6319011','The-Early-November-6-30-2024'],['Eidola','Bottom Lounge','Chicago, IL','Saturday','7/6/2024','7:00 PM','6340763','Eidola-7-6-2024'],['Allan Rayman','Bottom Lounge','Chicago, IL','Saturday','7/13/2024','8:00 PM','6408343','Allan-Rayman-7-13-2024'],['Hobo Johnson & The Lovemakers','Vic Theatre','Chicago, IL','Wednesday','7/17/2024','7:30 PM','6346024','Hobo-Johnson---The-Lovemakers-7-17-2024'],['Vacations','Vic Theatre','Chicago, IL','Wednesday','7/24/2024','7:30 PM','6331336','Vacations-7-24-2024'],['The Greeting Committee','Bottom Lounge','Chicago, IL','Wednesday','7/24/2024','8:00 PM','6371458','The-Greeting-Committee-7-24-2024'],['Bowling for Soup','Vic Theatre','Chicago, IL','Friday','7/26/2024','6:30 PM','6241102','Bowling-for-Soup-7-26-2024'],['D'Aydrian Harding','Vic Theatre','Chicago, IL','Wednesday','8/7/2024','8:00 PM','6404710','D-Aydrian-Harding-8-7-2024'],['The Aristocrats','Bottom Lounge','Chicago, IL','Sunday','8/11/2024','7:30 PM','6384690','The-Aristocrats-8-11-2024'],['C-Kan','Vic Theatre','Chicago, IL','Thursday','8/15/2024','7:30 PM','6412650','C-Kan-8-15-2024'],['Stephanie Miller','Vic Theatre','Chicago, IL','Saturday','8/17/2024','8:00 PM','5885264','Stephanie-Miller-8-17-2024'],['Lovett Or Leave It','Vic Theatre','Chicago, IL','Friday','8/23/2024','7:30 PM','6317014','Lovett-Or-Leave-It-8-23-2024'],['Jordan Klepper','Vic Theatre','Chicago, IL','Saturday','8/24/2024','7:30 PM','6364750','Jordan-Klepper-8-24-2024'],['AJ Rafael','Bottom Lounge','Chicago, IL','Wednesday','8/28/2024','8:00 PM','6053340','AJ-Rafael-8-28-2024'],['The Suicide Machines','Bottom Lounge','Chicago, IL','Friday','9/6/2024','7:00 PM','6403531','The-Suicide-Machines-9-6-2024'],['The Buena Vista Social Orchestra','Vic Theatre','Chicago, IL','Friday','9/13/2024','7:30 PM','6384298','The-Buena-Vista-Social-Orchestra-9-13-2024'],['Mat Kearney','Vic Theatre','Chicago, IL','Saturday','9/14/2024','8:00 PM','6304552','Mat-Kearney-9-14-2024'],['Soft Kill','Bottom Lounge','Chicago, IL','Saturday','9/14/2024','8:30 PM','6342949','Soft-Kill-9-14-2024'],['Paul Weller','Vic Theatre','Chicago, IL','Sunday','9/15/2024','7:30 PM','6372937','Paul-Weller-9-15-2024'],['INJI','Bottom Lounge','Chicago, IL','Monday','9/16/2024','8:00 PM','6399227','INJI-9-16-2024'],['Martin Amini','Vic Theatre','Chicago, IL','Saturday','9/21/2024','7:30 PM','6258861','Martin-Amini-9-21-2024'],['Wild Rivers','Vic Theatre','Chicago, IL','Sunday','9/22/2024','7:30 PM','6412724','Wild-Rivers-9-22-2024'],['Griff','Vic Theatre','Chicago, IL','Thursday','9/26/2024','7:30 PM','6408123','Griff-9-26-2024'],['Laura Ramoso','Vic Theatre','Chicago, IL','Saturday','9/28/2024','7:30 PM','6343205','Laura-Ramoso-9-28-2024'],['Laura Ramoso','Vic Theatre','Chicago, IL','Sunday','9/29/2024','7:30 PM','6413888','Laura-Ramoso-9-29-2024'],['Mass of the Fermenting Dregs','Bottom Lounge','Chicago, IL','Tuesday','10/1/2024','7:00 PM','6418688','Mass-of-the-Fermenting-Dregs-10-1-2024'],['Cuarteto de Nos','Vic Theatre','Chicago, IL','Thursday','10/10/2024','7:30 PM','6387356','Cuarteto-de-Nos-10-10-2024'],['La Santa Grifa','Vic Theatre','Chicago, IL','Friday','10/11/2024','7:30 PM','6341944','La-Santa-Grifa-10-11-2024'],['Witchz','Bottom Lounge','Chicago, IL','Saturday','10/12/2024','8:00 PM','6276311','Witchz-10-12-2024'],['Heather McDonald','Vic Theatre','Chicago, IL','Saturday','10/19/2024','7:30 PM','6374800','Heather-McDonald-10-19-2024'],['NUBIA','Vic Theatre','Chicago, IL','Friday','6/2/2073','8:00 PM','5605200','NUBIA-6-2-2073']],'Bottom Lounge','http://www.ticketnetwork.com/ticket/Bottom-Lounge-events.aspx');